package com.t.bricks.bussiness.db.entity.registuser.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 注册用户'RegistUser'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 * @author HuangXinBian
 * @DateTime 2021年09月13日 10:21:13
 */
@ApiModel("注册用户RegistUser")
@DataInfo(sDbName="BricksSynch", sTableName="RegistUser")
public class RegistUserBase implements Serializable {

	private static final long serialVersionUID = 1L;// 使用rmi时需修改

	/**
	 * 表编号
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="uId", sComment="表编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="表编号", example="")
	//[end]
	protected String uId;

	/**
	 * 名称(组合唯一)
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="sName", sComment="名称(组合唯一)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="名称(组合唯一)", example="")
	//[end]
	protected String sName;

	/**
	 * 电话(组合唯一)
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="sNo", sComment="电话(组合唯一)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="电话(组合唯一)", example="")
	//[end]
	protected String sNo;

	/**
	 * 密码
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="sPass", sComment="密码", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=3 )
	@ApiModelProperty(value="密码", example="")
	//[end]
	protected String sPass;

	/**
	 * 内容密钥
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="sSign", sComment="内容密钥", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="内容密钥", example="")
	//[end]
	protected String sSign;

	/**
	 * 用户类型(字典)
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="sUserType", sComment="用户类型(字典)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=true,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=5 )
	@ApiModelProperty(value="用户类型(字典)", example="1")
	//[end]
	protected Integer sUserType;

	/**
	 * 用户来源表(组合唯一)
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="sOwner", sComment="用户来源表(组合唯一)", isDbField=true, sDbFileType="varchar",
		sDefaultData="BricksBaseSystem.persion", isExtra=false, iskey=false, isNull=true,
		iMaxLength=100, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=6 )
	@ApiModelProperty(value="用户来源表(组合唯一)", example="BricksBaseSystem.persion")
	//[end]
	protected String sOwner;

	/**
	 * 问题1
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="sQuestion1", sComment="问题1", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=40, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=7 )
	@ApiModelProperty(value="问题1", example="")
	//[end]
	protected String sQuestion1;

	/**
	 * 答案1
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="sAnswer1", sComment="答案1", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=40, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=8 )
	@ApiModelProperty(value="答案1", example="")
	//[end]
	protected String sAnswer1;

	/**
	 * 问题2
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="sQuestion2", sComment="问题2", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=40, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=9 )
	@ApiModelProperty(value="问题2", example="")
	//[end]
	protected String sQuestion2;

	/**
	 * 答案2
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="sAnswer2", sComment="答案2", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=40, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=10 )
	@ApiModelProperty(value="答案2", example="")
	//[end]
	protected String sAnswer2;

	/**
	 * 创建人员
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="sCreator", sComment="创建人员", isDbField=true, sDbFileType="varchar",
		sDefaultData="0", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=11 )
	@ApiModelProperty(value="创建人员", example="0")
	//[end]
	protected String sCreator;

	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="dCreateDate", sComment="创建时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=12 )
	@ApiModelProperty(value="创建时间", example="")
	//[end]
	protected Date dCreateDate;

	/**
	 * 修改人员
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="sModifieder", sComment="修改人员", isDbField=true, sDbFileType="varchar",
		sDefaultData="0", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=13 )
	@ApiModelProperty(value="修改人员", example="0")
	//[end]
	protected String sModifieder;

	/**
	 * 修改时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="dModifiedDate", sComment="修改时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=14 )
	@ApiModelProperty(value="修改时间", example="")
	//[end]
	protected Date dModifiedDate;

	/**
	 * 状态(枚举,1:启用;2:禁用)
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="iState", sComment="状态(枚举,1:启用;2:禁用)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=15 )
	@ApiModelProperty(value="状态(枚举,1:启用;2:禁用)", example="1")
	//[end]
	protected Integer iState;

	/**
	 * 序号
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="iIndex", sComment="序号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=16 )
	@ApiModelProperty(value="序号", example="1")
	//[end]
	protected Integer iIndex;

	/**
	 * 版本号
	 */
	//[start]
	@DataInfo( sDbName="BricksSynch", sTableName="RegistUser",
		sName="iVersion", sComment="版本号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=17 )
	@ApiModelProperty(value="版本号", example="1")
	//[end]
	protected Integer iVersion;

	/**
	 * 取 表编号
	 * @return String
	 */
	public String getuId() {
		return uId;
	}

	/**
	 * 设置表编号
	 * @param uId
	 */
	public void setuId(String uId) {
		this.uId = uId;
	}

	/**
	 * 取 名称(组合唯一)
	 * @return String
	 */
	public String getsName() {
		return sName;
	}

	/**
	 * 设置名称(组合唯一)
	 * @param sName
	 */
	public void setsName(String sName) {
		this.sName = sName;
	}

	/**
	 * 取 电话(组合唯一)
	 * @return String
	 */
	public String getsNo() {
		return sNo;
	}

	/**
	 * 设置电话(组合唯一)
	 * @param sNo
	 */
	public void setsNo(String sNo) {
		this.sNo = sNo;
	}

	/**
	 * 取 密码
	 * @return String
	 */
	public String getsPass() {
		return sPass;
	}

	/**
	 * 设置密码
	 * @param sPass
	 */
	public void setsPass(String sPass) {
		this.sPass = sPass;
	}

	/**
	 * 取 内容密钥
	 * @return String
	 */
	public String getsSign() {
		return sSign;
	}

	/**
	 * 设置内容密钥
	 * @param sSign
	 */
	public void setsSign(String sSign) {
		this.sSign = sSign;
	}

	/**
	 * 取 用户类型(字典)
	 * @return Integer
	 */
	public Integer getsUserType() {
		return sUserType;
	}

	/**
	 * 设置用户类型(字典)
	 * @param sUserType
	 */
	public void setsUserType(Integer sUserType) {
		this.sUserType = sUserType;
	}

	/**
	 * 取 用户来源表(组合唯一)
	 * @return String
	 */
	public String getsOwner() {
		return sOwner;
	}

	/**
	 * 设置用户来源表(组合唯一)
	 * @param sOwner
	 */
	public void setsOwner(String sOwner) {
		this.sOwner = sOwner;
	}

	/**
	 * 取 问题1
	 * @return String
	 */
	public String getsQuestion1() {
		return sQuestion1;
	}

	/**
	 * 设置问题1
	 * @param sQuestion1
	 */
	public void setsQuestion1(String sQuestion1) {
		this.sQuestion1 = sQuestion1;
	}

	/**
	 * 取 答案1
	 * @return String
	 */
	public String getsAnswer1() {
		return sAnswer1;
	}

	/**
	 * 设置答案1
	 * @param sAnswer1
	 */
	public void setsAnswer1(String sAnswer1) {
		this.sAnswer1 = sAnswer1;
	}

	/**
	 * 取 问题2
	 * @return String
	 */
	public String getsQuestion2() {
		return sQuestion2;
	}

	/**
	 * 设置问题2
	 * @param sQuestion2
	 */
	public void setsQuestion2(String sQuestion2) {
		this.sQuestion2 = sQuestion2;
	}

	/**
	 * 取 答案2
	 * @return String
	 */
	public String getsAnswer2() {
		return sAnswer2;
	}

	/**
	 * 设置答案2
	 * @param sAnswer2
	 */
	public void setsAnswer2(String sAnswer2) {
		this.sAnswer2 = sAnswer2;
	}

	/**
	 * 取 创建人员
	 * @return String
	 */
	public String getsCreator() {
		return sCreator;
	}

	/**
	 * 设置创建人员
	 * @param sCreator
	 */
	public void setsCreator(String sCreator) {
		this.sCreator = sCreator;
	}

	/**
	 * 取 创建时间
	 * @return Date
	 */
	public Date getdCreateDate() {
		return dCreateDate;
	}

	/**
	 * 设置创建时间
	 * @param dCreateDate
	 */
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	/**
	 * 取 修改人员
	 * @return String
	 */
	public String getsModifieder() {
		return sModifieder;
	}

	/**
	 * 设置修改人员
	 * @param sModifieder
	 */
	public void setsModifieder(String sModifieder) {
		this.sModifieder = sModifieder;
	}

	/**
	 * 取 修改时间
	 * @return Date
	 */
	public Date getdModifiedDate() {
		return dModifiedDate;
	}

	/**
	 * 设置修改时间
	 * @param dModifiedDate
	 */
	public void setdModifiedDate(Date dModifiedDate) {
		this.dModifiedDate = dModifiedDate;
	}

	/**
	 * 取 状态(枚举,1:启用;2:禁用)
	 * @return Integer
	 */
	public Integer getiState() {
		return iState;
	}

	/**
	 * 设置状态(枚举,1:启用;2:禁用)
	 * @param iState
	 */
	public void setiState(Integer iState) {
		this.iState = iState;
	}

	/**
	 * 取 序号
	 * @return Integer
	 */
	public Integer getiIndex() {
		return iIndex;
	}

	/**
	 * 设置序号
	 * @param iIndex
	 */
	public void setiIndex(Integer iIndex) {
		this.iIndex = iIndex;
	}

	/**
	 * 取 版本号
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本号
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

}
